﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Reflection;

namespace TestCase_2
{
    public partial class frmLoadPic : Form
    {
        public frmLoadPic()
        {
            InitializeComponent();
            this.picBox.SizeMode = PictureBoxSizeMode.StretchImage;
        }

        private void bLoad_Click(object sender, EventArgs e)
        {
            Bitmap bmp = new Bitmap(System.Reflection.Assembly.GetEntryAssembly().GetManifestResourceStream("TestCase_2.Resources.WeatherIcons.DefaultBackground.jpg"));
            picBox.Image = bmp;
        }

        
    }
}
